package com.butterfly.hotkey.common.netty;

import com.butterfly.hotkey.core.model.msg.HotKeyMsg;
import io.netty.channel.ChannelHandlerContext;

/**
 * @author butterfly
 */
public interface INettyMsgHandler {

    /**
     * 处理推送的数据
     *
     * @param message message
     * @param context context
     */
    void handle(HotKeyMsg message, ChannelHandlerContext context);

}
